package com.buss.test;

import java.util.List;

import javax.annotation.Resource;

import org.junit.Test;

import com.buss.entity.User;
import com.buss.service.UserService;
import com.buss.test.spring.SpringTxTestCase;

public class UserServiceJunit  extends SpringTxTestCase {

	@Resource 
	UserService userService;
	
	User user = new User();


	//@Test
	public void selectOne(){
		user.setName("kaihong");
		user = userService.selectOne(user);
		System.out.println("result-"+user.toString());
	}



	
}
